
C-code + Windows and Linux executables for the reversibility test described 
in:
 
Diks, C., Houwelingen, J.C. van, Takens, F. and DeGoede, J. (1995) 
Reversibility as a criterion for discriminating time series, Physics Letters 
A 201, 221-228

Rever2 refers to version 2, meaning that the code uses the block method 
described in my book.

Diks, C. (1999) Nonlinear Time Series Analysis: Methods and Applications, 
Vol. 4 in series "Nonlinear Time Series and Chaos", edited by H. Tong 
(World Scientific, Singapore). ISBN: 9810235054.

This archive contains the following files:
  Makefile	Unix style Makefile
  README	This file
  log.dat	Sample data (chaotic logistic map data)
  rever2.c	C-code
  rever2	Linux 2.6 executable
  rever2.exe	Windows executable


As noted above this is a more recent version (using blocks) than the one
used in my paper, but the results should be identical if the number of
blocks is set equal to the number of delay vectors (98 in the example
output below).

This version of rever2 is invoked from the command line without options, 
options are being asked by the program.

Options:
filename		specify a filename
ntau			lag used between elements of delay vector 
emb. dim. m		embedding dimension (dimension of delay vector)
# of blocks		Monte Carlo simulations (bootstrap) will be based on
			this number of blocks
Complete distrib (0)	Use all possible configurations of the blocks 
			(2^{nblocks-1} configs)
       or sample (1)	Use a subset of all configurations (typically done if
			computation time of (0) is too long)
bandwidth		bandwidth used for the kernel


Sample session (please check your executable by verifying this test output)

  prompt $  ./rever2
  filename : log.dat
  100 values read
  ntau       : 1
  emb.dim. m : 3
  Total of 98 delay vector(s)
  # of blocks  : 20
  Complete distrib (0) or sample (1) : 0
  bandwidth  : 0.2
  Tracking 190 block-block pairs.
   190
  Q = 0.044086453479
  Determining conditional null distribution, 524288 configurations
   524288
  At Q=0.044086453479, p=0.000001907349

